package com.itheima.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("ss_module")
public class Module {
   @TableId(value = "module_id",type = IdType.ASSIGN_UUID)//在自增主键的变量加上即可
   private String moduleId;
   private String parentId;
   private String parentName;
   private String name;
   private Integer isLeaf;
   private String ico;
   private String cpermission;
   private String curl;
   private Integer ctype;
   private Integer state;
   private String belong;
   private String remark;
   private Integer orderNo;
}
